package com.hopedove.yieldmanage.domain.net;

import com.hopedove.net.domain.JsonParamRequest;

import org.json.JSONObject;

public class GetQueryList extends JsonParamRequest {

    public GetQueryList(String userBean, String jobDate, String bmmc, String machineNo, String jobNum,
                        String classes, String standardQuota) {
        try {
            JSONObject jsonObject = new JSONObject(userBean);
            putParam("userBean", jsonObject);
            putParam("JOBDATE", jobDate);
            putParam("BMMC", bmmc);
            putParam("MACHINENO", machineNo);
            putParam("JOB_NUM", jobNum);
            putParam("CLASSES", classes);
            putParam("WBZDE", standardQuota);
            putParam("C_FLAG", "IPAD");
        } catch (Exception e) {
            //ignore
        }
    }

    @Override
    protected String getMethod() {
        return "wageYieldInputtoList";
    }
}
